<?php

	include 'constants.php';
	
	$name = "test";
	$start_time = '2013-09-21';
	$description = "asdfsdfsdfs";
	$new_event = array('name' => $name, 'start_time' => $start_time, 'description' => $description);
	
	$event_id = $fb->api('/'.$user.'/events', 'POST', $new_event);
	echo "Event Id = ".$event_id;
?>